package cn.cds.withyou.base.util;

public class KeyValuePair implements NameValuePair, Comparable<KeyValuePair> {
    private static final boolean CHECK_NULL = false;
    private String mKey;
    private String mValue;

    public KeyValuePair(String key) {
        this.mKey = key;
    }

    public KeyValuePair(String key, String value) {
        this.mKey = key;
        this.mValue = value;
    }

    public void setValue(String value) {
        this.mValue = value;
    }

    public String getKey() {
        return this.mKey;
    }

    public String getName() {
        return this.mKey;
    }

    public String getValue() {
        return this.mValue;
    }

    public int compareTo(KeyValuePair another) {
        boolean ret = false;
        int ret1 = this.mKey.compareTo(another.mKey);
        return ret1;
    }
}
